
package com.x52im.rbchat.logic.search.model;

/**
 * 聊天记录搜索结果数据封装对象（搜索结果是不聚合的详细形式，有多少条消息就是多少条）。
 *
 * @author JackJiang
 * @since 8.2
 */
public class MsgDetailContentDTO extends MsgSummaryContentDTO {

    /** 消息发送者uid */
    private String senderId = null;
    /** 消息发送者昵称（用于单聊陌生人消息和群聊消息时）*/
    private String senderDisplayName = null;

    public String getSenderId() {
        return senderId;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId;
    }

    public String getSenderDisplayName() {
        return senderDisplayName;
    }

    public void setSenderDisplayName(String senderDisplayName) {
        this.senderDisplayName = senderDisplayName;
    }

    @Override
    public String toString(){
        return "[chatType="+chatType+", resultCount="+resultCount+", dataId="+dataId+", senderId="+senderId
                +", senderDisplayName="+senderDisplayName+", date="+date+", text="+text+"]";
    }

}
